$cr:red;

.box{
    width: 500px;
    height: 500px;
    margin: 0;
    padding: 0;
    background-color: $cr;
}
@mixin ccc ($bgcolor){
    border:1px solid $bgcolor;
}


.box li{
@include ccc(hotpink);
&:nth-child(odd){
@include ccc(yellow);
}

div>div>div>div{
    width: 10px;
    height: 10px;
    background: #fff;
}
}